package com.yjc.mapper;

import com.yjc.bean.Employee;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EmployeeMapper {
    Employee selectEmpById(int eId);
    int addEmployee(Employee employee);
    int deleteEmpById(int eId);
    List<Employee> selectEmpAll(@Param("pageNum") int pageNum, @Param("pageSize") int pageSize);
    List<Employee> selectEmpBydName(String dName);
    List<Employee> selectEmpAndBoss();
}
